Book Contents

Connections for the MacroMultiplexer ActiveX control

The following table shows the connections to control the operation of the MacroMultiplexer ActiveX control at run time.

Connections

Descriptions

Trigger

Required

When the assigned tag transitions from a zero to non-zero value, the control evaluates the Index connection and executes any macor associated with the Index value.

The connection data type is Integer.

The connection can be a direct tag or a memory tag.

Handshake

Optional

This connection allows the control program to reset the Trigger connection.

The connection data type is Integer.

The connection can be a direct tag or memory tag.

Index

Required

This connection maps to the configured macros. There can be up to 100 macros configured.

The connection data type is Integer.

The connection can be a direct tag or a memory tag.

ErrorCode

Optional

This connection allows the application to manage errors that occur with the control configuration.

The connection data type is Integer.

The connection can be a direct tag or a memory tag.

ErrorMessage

Optional

This connection defines the Text message that is associated with the ErrorCode.

The connection data type is String. The maximum length is 82 characters.

The connection can be a direct tag or a memory tag.

Macro_1 - Macro_100

Optional

These connections are used to list the macro to be executed. For example, if the value of the Index connection is 1, the Macro that corresponds to Macro_1 will be executed.

The connection data type is String. The maximum length is 82 characters.

The connection can be a direct tag or a memory tag.

See also

MacroMultiplexer ActiveX control

ErrorMessage connection values